package com.example.demo.controller.config;

import com.example.demo.controller.viewObject.UserVO;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Import(UserVO.class)
@Configuration(proxyBeanMethods = true)
public class MyCongfig {
    @Bean
    public  UserVO user1(){
        UserVO userVO=new UserVO();
        return userVO;
    }

}
